Automate the Boring Stuff with Python, 2nd Edition: Practical Programming for Total Beginners

Automate the Boring Stuff with Python, 2nd Edition: Practical Programming for Total Beginners

  • Downloads:8384
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-03-05 03:15:05
  • Update Date:2025-09-06
  • Status:finish
  • Author:Al Sweigart
  • ISBN:1593279922
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

The second edition of this best-selling Python book (100,000+ copies sold in print alone) uses Python 3 to teach even the technically uninclined how to write programs that do in minutes what would take hours to do by hand。 There is no prior programming experience required and the book is loved by liberal arts majors and geeks alike。

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be。 But what if you could have your computer do them for you?

In this fully revised second edition of the best-selling classic Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand--no prior programming experience required。 You'll learn the basics Python and explore Python's rich library of modules for performing specific tasks, like scraping data off websites, reading PDF and Word documents, and automating clicking and typing tasks。

The second edition of this international fan favorite includes a brand-new chapter on input validation, as well as tutorials on automating Gmail and Google Sheets, plus tips on automatically updating CSV files。 You'll learn how to create programs that effortlessly perform useful feats of automation to:

- Search for text in a file or across multiple files
- Create, update, move, and rename files and folders
- Search the Web and download online content
- Update and format data in Excel spreadsheets of any size
- Split, merge, watermark, and encrypt PDFs
- Send email responses and text notifications
- Fill out online forms

Step-by-step instructions walk you through each program, and updated practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks。

Don't spend your time doing work a well-trained monkey could do。 Even if you've never written a line of code, you can make your computer do the grunt work。 Learn how in Automate the Boring Stuff with Python, 2nd Edition

Download

Reviews

Amanda Marie

A nice compliment to a hands-on online training course。 I found the online course (unrelated to this book) made it difficult to reference past-taught concepts—I was constantly doing internet searches and getting many unhelpful results。 This reference is much better than the online help communities, where it seemed like some posters were over complicating things, at least for the basic and widely used Python applications。 I liked the book’s chapter organization by practical business use cases, to A nice compliment to a hands-on online training course。 I found the online course (unrelated to this book) made it difficult to reference past-taught concepts—I was constantly doing internet searches and getting many unhelpful results。 This reference is much better than the online help communities, where it seemed like some posters were over complicating things, at least for the basic and widely used Python applications。 I liked the book’s chapter organization by practical business use cases, too。 The exercises were more game-like than I prefer but coupled with the business use cases it’s probably fair to say most everyone can get what they need from this reference。 。。。more

Alb85

Il libro è ben fatto。La prima parte descrive i costrutti base del Python。La seconda parte, quella principale, descrive i moduli principali per automatizzare quello che facciamo。Si parla di espressioni regolari (molti utili anche in molti altri ambiti e linguaggi) e di come:- leggere e scrivere un file- scaricare contenuti dal web- interagire con file Excel, Word, pdf, csv, json e immagini。- mandare automaticamente e-mail - aprire e usare programmi da codice- gestire mouse e tastiera da codice。。。 Il libro è ben fatto。La prima parte descrive i costrutti base del Python。La seconda parte, quella principale, descrive i moduli principali per automatizzare quello che facciamo。Si parla di espressioni regolari (molti utili anche in molti altri ambiti e linguaggi) e di come:- leggere e scrivere un file- scaricare contenuti dal web- interagire con file Excel, Word, pdf, csv, json e immagini。- mandare automaticamente e-mail - aprire e usare programmi da codice- gestire mouse e tastiera da codice。。。 e molto altro ancora。 。。。more

tom

pretty good。 some of the stuff in the online course is a bit dated and broken now but troubleshooting the various issues is kind of a useful lesson in itself

John

A well-written and deeply useful book。

Claudiu Rediu

Great for those starting with Python。 I was looking for something intermediate, but I could see how it would have been a great starting point to learn。

Imene MELLAL

I used this book for a while when I was still trying to decide on learning Python。

Ian Ghitarroni

alto puntapié para arrancar además todos los ejercicios que hay para hacer están resuletos en github

William Schram

There are books out there that will turn an average schlub into a programming superstar。 Automate the Boring Stuff With Python is not one of those books。 The introduction by the author says as much。 As such, the book does not always follow best practices。 Furthermore, the book assumes that you know nothing of programming。 That isn't to say the book is terrible or even mediocre。 The book is excellent for its targeted audience。Automate the Boring Stuff With Python builds on itself。 It has flowchar There are books out there that will turn an average schlub into a programming superstar。 Automate the Boring Stuff With Python is not one of those books。 The introduction by the author says as much。 As such, the book does not always follow best practices。 Furthermore, the book assumes that you know nothing of programming。 That isn't to say the book is terrible or even mediocre。 The book is excellent for its targeted audience。Automate the Boring Stuff With Python builds on itself。 It has flowcharts that demonstrate the basics of a program。 If this occurs, then do that。 It's filled with nuggets of wisdom about how to stop your programs and other valuable information。 At the end of each chapter is a Practice section where you can test your knowledge。About half of the book introduces basic programming concepts。 Once the book finishes with the introductory stuff, we can use Regular Expressions and other tools to automate things。 The second half of the book contains projects that you can do and ideas for further practice。 。。。more

Shanavaz

Interesting explanations and short programs to start with Python

Steven Wilson

I read the first edition just before the second edition came out, and many things in the first edition were out of date。 But that isn’t a fair criticism。 This book was my intro to python and the teaching style was thorough, and didn’t randomly forget that I was a beginner and assume I knew things that weren’t covered in the book。 This book covers using modules for many different purposes。 Automation of document manipulation, web scraping, data analytics I think, and game playing。 It gives you an I read the first edition just before the second edition came out, and many things in the first edition were out of date。 But that isn’t a fair criticism。 This book was my intro to python and the teaching style was thorough, and didn’t randomly forget that I was a beginner and assume I knew things that weren’t covered in the book。 This book covers using modules for many different purposes。 Automation of document manipulation, web scraping, data analytics I think, and game playing。 It gives you an intro to many of the widely different things you could want to do with python。 It even covers multiple modules which do the same thing。 In hindsight I did not want to learn two different modules for web scraping。 I don’t think it is bad that these things are covered, but I’d advise other readers to consider skipping learning modules which are redundant or do things they are not interested in。I strongly recommend this book to introduce you to python and the relevant module of the area you would like to learn more about in python。 。。。more

Wilton

Excellent source of tools for making use of Python。

Dwayne Roberts

A good exposition of many Python methods and structures。 I would have liked more info about threading。

William Holtam

I think it's great for beginners。 Particularly the inclusion of reinforcement questions and suggested projects after each chapter。As someone who has been programming in Python for years, there are topics covered by this book that I have never touched。 This is a useful reference guide containing the basics for general desktop automation using python。This book won't help you if you want to automate the deployment of a workflow system to Google Cloud, but it will help you if you have an office job I think it's great for beginners。 Particularly the inclusion of reinforcement questions and suggested projects after each chapter。As someone who has been programming in Python for years, there are topics covered by this book that I have never touched。 This is a useful reference guide containing the basics for general desktop automation using python。This book won't help you if you want to automate the deployment of a workflow system to Google Cloud, but it will help you if you have an office job and perform repetative tasks e。g。 invoicing, monthly spreadsheets/reports, monthly emails。 。。。more

Vinamra Bali

First Book of python and it has taught me some amazing concepts in easy language。 As its my first book on python i can not compare it with anything but the language and the way in which it is written is really easy to understand。

Ayush 1

This book was amazing。

Nik

Great for beginners looking for practical experience。 Much like the title would suggest :)

Charles Buffington

A great introduction for beginners to see how Python is used to solved practical, real world problems。

Lalit Tomar

Its a practical book。 Not a text book but a very good aid for budding programmers。 I is filled with some very good practical examples。 When you see your program running successfully and performing the given task, its boost your confidence。 This book is exactly for that 。。。。Happy Pythoning

Gil Alowaifi

Great book for starting automating a few tasks you do everyday。A must for anyone who wants and needs more time to do more interesting things。 😃

Elvin Shahsuvarli

good inspiration for beginners

Jason Caldwell

Very beginner book, was hoping to see more examples of practical automation but this book is a primer for automation, not actually about automation。

Tabitha

Good starter level, though if you intend to do anything useful with Python you'll definitely want to move to different learning material when finished。 Good starter level, though if you intend to do anything useful with Python you'll definitely want to move to different learning material when finished。 。。。more

tsuki

One noticeable flaw with this book is that it's not fully PEP-8 compliant and uses (arguably subjective) bad styling practice in its code examples, such as using camelCasing instead of snake_casing for its function names and variable names。 Pretty much every industry-level Python programmer follows PEP-8 (and also expects you to), so the book might leave beginners with some bad habits。 Nevertheless, they are not difficult to unlearn, and I would still consider this one of the better introductory One noticeable flaw with this book is that it's not fully PEP-8 compliant and uses (arguably subjective) bad styling practice in its code examples, such as using camelCasing instead of snake_casing for its function names and variable names。 Pretty much every industry-level Python programmer follows PEP-8 (and also expects you to), so the book might leave beginners with some bad habits。 Nevertheless, they are not difficult to unlearn, and I would still consider this one of the better introductory books for beginners who have no programming experience and want to start with Python。 。。。more

Free

Overall good read with a good author: 4。75/5

Shivaramakrishnan。V

Excellent book for beginners and great practical examples explained very well。

Alonso Aguayo

Calificación 4/5Este libro lo llevé de la mano con el curso en línea del mismo título。 Disfruto de libros prácticos que te pongan a hacer algo más que arrojarte conceptos a diestra y siniestra。Si no tienes conocimientos de programación en ningún lenguaje, este libro te ayudará a entender los conceptos más básicos de una manera práctica y sencilla。Altamente recomendado para quien guste empezar en estos temas。

Rahul Bhandari

The book served as my introduction to Python and boy was it good。 Superb book。

Trần Lệ Mẫn

This book is for Python beginners。

Timeo Williams

Much appreciated Al。 This book is filled with hidden gems that you may find useful。 Enjoy!

Angus

Good book for getting general concepts down。 It will not make you a programmer though。 It's not comprehensive。 Recommended for beginners or people new to Python。 Good book for getting general concepts down。 It will not make you a programmer though。 It's not comprehensive。 Recommended for beginners or people new to Python。 。。。more